<template>
    <div>
        <div class="ui-title">
            <div class="ui-title-back" @click="hideWindow"></div>
            <div class="ui-title-text">关于我们</div>
         <!--   <div class="ui-title-btn-block">
                <span class="ui-title-btn icon " onclick="location.href=location.href">&#xe62a;</span>
            </div>-->
        </div>
        <div class="body">
            <div class="about-content">
                <div id="qrcode" class="qrcode" ></div>
                <div class="about-content-text">扫一扫下载</div>
                <!--<div class="about-content-text">cne5000.top</div>-->
                <div class="about-content-text2">
                   易学是中华文化之根，为方便易学研习，《周易书籍》搜集了各类易学资料(梅花、六爻、四柱、奇门...等)供易学研习者免费阅读，若有意共享易学资料供广大易友研习，可发送邮件到 cne5000@qq.com。
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        data: function () {
            return {

            }
        },
        methods: {
            hideWindow:function(){
                window.hideWebview();
            },
        },
        mounted: function () {
                var script=document.createElement('script');
                script.src="js/qrcode.min.js";
                document.body.appendChild(script);
                script.onload=function () {
                    var w=document.documentElement.clientWidth/2.5;
                    var installpath=plus.storage.getItem('installpath');
                    new QRCode(document.getElementById('qrcode'),{
                        text:installpath?installpath:"因网络原因，未获得安装包下载地址",
                        width:w,
                        height:w,
                    });
                }
        }
    }



</script>

